<!-- V-webapp/src/views/MobileTipView.vue -->
<template>
  <div class="mobile-tip-page">
    <div class="tip-container">
      <el-icon size="60" color="#409eff"><Iphone /></el-icon>
      <h2>请在手机端访问</h2>
      <p>粉丝端为移动端优化设计，请在手机浏览器中访问以获得最佳体验</p>
      <div class="qrcode-section">
        <p>扫描二维码在手机上访问</p>
        <!-- 这里可以放二维码 -->
        <div class="qrcode-placeholder">
          <el-icon size="40"><Picture /></el-icon>
          <span>网站二维码</span>
        </div>
      </div>
      <el-button type="primary" @click="$router.push('/')">
        继续在电脑端访问
      </el-button>
    </div>
  </div>
</template>

<script setup lang="ts">
import { Iphone, Picture } from '@element-plus/icons-vue'
</script>

<style scoped>
.mobile-tip-page {
  min-height: 100vh;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tip-container {
  background: white;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tip-container h2 {
  margin: 20px 0 10px;
  color: #333;
}

.tip-container p {
  color: #666;
  margin-bottom: 20px;
}

.qrcode-section {
  margin: 30px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.qrcode-placeholder {
  margin-top: 15px;
  padding: 30px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  color: #999;
}
</style>